﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YSL.Application.Ysl_Dto.Input.WorkOrder;
using YSL.Application.Ysl_Dto.Output;
using YSL_Domain.Model;

namespace YSL.Application.Dynamics
{
    /// <summary>
    /// 映射工具
    /// </summary>
    public class Ysl_AutomapperFile:Profile
    {
        public Ysl_AutomapperFile()
        {
            //添加转化
            CreateMap<AddWorkOrderInput, YSL_WORKORDER>();
            //列表
            CreateMap<YSL_WORKORDER, WorkOrderListOutput>();
        }
    }
}
